package com.hone.honewed.controller.zoneWed;

import com.eig.common.vo.Result;
import com.hone.honewed.service.zoneWed.ZoneWedService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author ：YQ袁（2446806940@qq.com）
 * @date ：Created in 2022/12/27 17:00
 * @description：
 * @modified By：
 * @version:
 */
@RestController
@RequestMapping("home/qian/zone")
@Api(value = "前端专区管理借来")
public class ZoneWedController {
    @Autowired
    private ZoneWedService zoneWedService;


    @ApiOperation(value = "查询专区课程")
    @GetMapping("/getAllQianZone")
    public Result getAllQianZone(){
        return zoneWedService.getAllQianZone();
    }
}
